#include "file.h"
#include <math.h>
int main(int argc, char* argv[])
{
    std::string str = ("Unmodified_String"),  buffer = argv[1];
    if (argc == 3)
    {
        int len = round(str.length() / 4);
        str.replace(str.begin(), str.begin() + len, buffer);
        out(str, argv[2]);
        in(argv[2]);

    }
    else
    {
        try
        {
        throw (1);
        }
        catch(int e)
        {
            std::cout << ("Too few arguments!") << std::endl;
        }
    }
    return 0;
}
